from django.db import models
from sync.models import SFObject,SFField
from django.db.models import Q
from django.db import connection, transaction
from wizard.models.view import View

class ViewSort(models.Model):
    view=models.ForeignKey(View)
    field=models.ForeignKey(ViewField)
    desc=models.BooleanFiled()
    class Meta:
        db_table = 'wizard_view_sort'
        app_label = 'wizard'             